<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="<%=basePath %>statics/css/common/common-1.0.css">
<link type="text/css" rel="stylesheet" href="<%=basePath %>statics/js/plug/jqueryUI/jquery-ui.css">
<link type="text/css" rel="stylesheet" href="<%=basePath%>statics/js/plug/jbox/jBox.css"/>
<link type="text/css" rel="stylesheet" href="<%=basePath%>statics/js/plug/jedate/skin/jedate.css"/>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery-1.12.0.min.js"></script>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jqueryUI/jquery-ui.js"></script>
<script type="text/javascript" src="<%=basePath %>statics/js/common/common-1.0.js"></script>
<script type="text/javascript" src="<%=basePath %>statics/js/common/loading.js"></script>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery.validate.js"></script>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jbox/jBox.js"></script>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jedate/jquery.jedate.js"></script>
<script type="text/javascript" src="<%=basePath %>statics/js/base/baseuser/user_login_edit.js"></script>
</head>
<body>
	<form id="updateUserForm">
		<table>
			<tr>
				<td class="attr"><span>别&nbsp;&nbsp;名：</span></td>
				<td><input id='updateNickname' name='nickname' type='text' readonly="readonly" title="只读" value="${bean.nickname}"></td>
			</tr>
			<tr>
				<td class="attr"><span>性&nbsp;&nbsp;别：</span></td>
				<td>
					<input id='updateSex1' name='sex' type='radio' <c:if test="${bean.sex == 1}">checked="checked"</c:if> value="1"><span>男</span>
					<input id='updateSex2' name='sex' type='radio' <c:if test="${bean.sex == 0}">checked="checked"</c:if> value="0"><span>女</span>
				</td>
			</tr>
			<tr>
				<td class="attr"><span>出生日期：</span></td>
				<td>
					<input type='text' id='birthday' name='birthday' value="<fmt:formatDate pattern='yyyy-MM-dd' value='${bean.birthday}'/>" readonly>
				</td>
			</tr>
			<!-- <tr>
				<td class="attr"><span>联系电话：</span></td>
				<td><input id='updatePhone' name='phone' type='text'></td>
			</tr> -->
			<tr>
				<td class="attr"><span>部&nbsp;&nbsp;门：</span></td>
				<td>
					<input type='text' id='deptName' name='deptName' value="${bean.deptName}" placeholder="请输入部门关键字">
					<input type="hidden" id="departmentId" name="departmentId" value="${bean.departmentId}">
				</td>
			</tr>
			<tr>
				<td class="attr"><span>住&nbsp;&nbsp;址：</span></td>
				<td><input type="text" id='address' name='address' value="${bean.address}"></td>
			</tr>
			<tr>
				<td class="attr"><span>邮&nbsp;&nbsp;箱：</span></td>
				<td><input type="text" id="email" name="email" value="${bean.email}"></td>
			</tr>
			<tr>
				<td class="attr"><span>职&nbsp;&nbsp;务：</span></td>
				<td><input type="text" id="post" name="post" value="${bean.post}"></td>
			</tr>
			<tr>
				<td class="attr"><span>备&nbsp;&nbsp;注：</span></td>
				<td><input id="updateRemark" type="text" name="remark" value="${bean.remark}"></td>
			</tr>
		</table>
	</form>
	<div id="loadDiv"></div>
</body>
</html>